include $(ROOTDIR)/makefiles/arch/unix.mk

ifeq "$(INSTALLDIR)" ""
  INSTALLDIR=/usr
endif
IMAGEDIR = $(INSTALLDIR)/share/pixmaps
APPIMAGEDIR = $(INSTALLDIR)/share/pixmaps/%APPLICATION_NAME%

CC = gcc
AR = ar rsu
LD = g++

CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -I./  -I/home/George/linebreak -I/home/George/libcurl/include -I/home/George/libfribidi/include -I/home/George/sqlite3/include
LDFLAGS = -L/usr/local/Trolltech/Qt-4.6.2/lib  -L/home/George/libexpat-linux/lib -L/home/George/linebreak/DebugDir -L/home/George/libcurl/lib -L/home/George/libfribidi/lib -L/home/George/zlib-linux/lib -L/home/lsw/Profile/libbz2/lib -L/home/George/sqlite3/lib -L/home/George/libopenssl/lib 

ifeq "$(UI_TYPE)" "qt"
  MOC = moc-qt3
  QTINCLUDE = -I /usr/include/qt3
else
  MOC = moc
  QTINCLUDE = -I /usr/local/Trolltech/Qt-4.6.2/include
endif

GTKINCLUDE = $(shell pkg-config --cflags gtk+-2.0 libpng xft)

ifeq "$(UI_TYPE)" "qt"
  UILIBS = -lqt-mt
endif

ifeq "$(UI_TYPE)" "qt4"
  UILIBS = -L/usr/local/Trolltech/Qt-4.6.2/lib  -lQtGui
endif

ifeq "$(UI_TYPE)" "gtk"
  UILIBS = $(shell pkg-config --libs gtk+-2.0) -lpng -ljpeg
endif

RM = rm -rvf
RM_QUIET = rm -rf
